home *** CD-ROM | disk | FTP | other *** search
- Here is update 35: featuring gcc-2.5.3 with a working -mbaserel (again!)
- some people have been having problems running g++ on a 4M atariST, and
- some have not. i have a TT setup only, where it runs fine, so i cannot
- figure out whats up on some 4M Sts. if you have a ST setup please will
- you let me know how you make out with running g++ (gcc h.cc -lg++ should
- suffice).
-
-
- gcc-2.5.3/ diffs from gnu gcc-2.5.3 + makefiles etc
-
- include/ library PL 95 (replace your limits.h with the one in here)
- and apply patches in diffh
-
- lib/ apply patches in diffc. NOTE: it is very important to
- apply the patch to crt0.c, and re compile bcrt0.o and
- bgcrt0.o before attempting to use gcc -mbaserel with
- gcc 2.5.X
-
- more about -mbaserel:
-
- some of you who are also on the mint mailing list may have already
- seen andreas's patch to gcc-2.5.0 calls.c for -mbaserel. in addition to
- that the following patch to m68k.h is required. BOTH of these diffs are
- included in the above gcc-2.5.3 patches.
-
- *** mmm Wed Nov 17 14:07:57 1993
- --- m68k.h Mon Nov 15 14:48:57 1993
- ***************
- *** 1241,1247 ****
- #define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR)
- \
- { GO_IF_NONINDEXED_ADDRESS (X, ADDR); \
- GO_IF_INDEXED_ADDRESS (X, ADDR); \
- ! if (flag_pic && MODE == CASE_VECTOR_MODE && GET_CODE (X) == PLUS \
- && LEGITIMATE_INDEX_P (XEXP (X, 0)) \
- && GET_CODE (XEXP (X, 1)) == LABEL_REF) \
- goto ADDR; }
- --- 1241,1247 ----
- #define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR)
- \
- { GO_IF_NONINDEXED_ADDRESS (X, ADDR); \
- GO_IF_INDEXED_ADDRESS (X, ADDR); \
- ! if ((flag_pic && flag_pic < 3) && MODE == CASE_VECTOR_MODE && GET_CODE (X) =
- = PLUS \
- && LEGITIMATE_INDEX_P (XEXP (X, 0)) \
- && GET_CODE (XEXP (X, 1)) == LABEL_REF) \
- goto ADDR; }
-
- cheers,
- --
- bang: uunet!cadence!bammi jwahar r. bammi
- domain: bammi@cadence.com
- GEnie: J.Bammi
- CIS: 71515,155
-